Modeling Pointer Redirection as Cyclic Term - graph Rewriting 1 Dominique Duval 2 Rachid Echahed 3 Frédéric Prost

نویسندگان

  • Dominique Duval
  • Rachid Echahed
  • Frédéric Prost
چکیده

We tackle the problem of data-structure rewriting including global and local pointerredirections. Each basic rewrite step may perform three kinds of actions: (i) Localredirection, the aim of which is to redirect specific pointers determined by meansof a pattern ; (ii) Replacement, that may add new information to data-structures ;(iii) Global redirection, which is aimed at redirecting all pointers targeting a nodetowards another one. We define a new framework, following the double-pushoutapproach, where graph rewrite rules may mix these three kinds of actions in a row.We define first the category of graphs we consider and then we define rewrite rulesas pairs of graph homomorphisms of the form L ← K → R. In our setting, graphK is not arbitrary, it is used to encode pointer redirection. Furthermore, pushoutsdo not always exist and complement pushouts, when they exist, are not unique.Despite these concerns, our definition of rewriting steps is such that a rewrite rulecan always be fired, once a matching is found.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Modeling Pointer Redirection as Cyclic Term-graph Rewriting

We tackle the problem of data-structure rewriting including global and local pointer redirections. Eachbasic rewrite step may perform three kinds of actions: (i) Local redirection, the aim of which is to redirectspecific pointers determined by means of a pattern ; (ii) Replacement, that may add new information todata-structures ; (iii) Global redirection, which is aimed at redirecti...

متن کامل

Data-Structure Rewriting

We tackle the problem of data-structure rewriting including pointer redirections. We propose two basic rewrite steps: (i) Local Redirection and Replacement steps the aim of which is redirecting speciic pointers determined by means of a pattern, as well as adding new information to an existing data ; and (ii) Global Redirection steps which are aimed to redirect all pointers targeting a node towa...

متن کامل

A Heterogeneous Pushout Approach to Term-Graph Transformation

We address the problem of cyclic termgraph rewriting. We propose a new framework where rewrite rules are tuples of the form (L,R, τ, σ) such that L and R are termgraphs representing the left-hand and the right-hand sides of the rule, τ is a mapping from the nodes of L to those of R and σ is a partial function from nodes of R to nodes of L. τ describes how incident edges of the nodes in L are co...

متن کامل

Categorical Abstract Rewriting Systems and Functoriality of Graph Transformation

Abstract rewriting systems are often defined as binary relations over a given set of objects. In this paper, we introduce a new notion of abstract rewriting system in the framework of categories. Then, we define the functoriality property of rewriting systems. This property is sometimes called vertical composition. We show that most graph transformation systems are functorial and provide a coun...

متن کامل

A Cloning Pushout Approach to Term-Graph Transformation

We address the problem of cyclic termgraph rewriting. We propose a new framework where rewrite rules are tuples of the form (L,R, τ, σ) such that L and R are termgraphs representing the left-hand and the right-hand sides of the rule, τ is a mapping from the nodes of L to those of R and σ is a partial function from nodes of R to nodes of L. τ describes how incident edges of the nodes in L are co...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006